package org.example.controller;


import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

public class WechatBaseController extends BaseController {
	@RequestMapping("/paramsError.do")
	@ResponseBody
	public String paramsError(HttpServletRequest req, HttpServletResponse res) {
		return jsonDump(ParamsError);

	}
	
	protected String getUserDirectory(HttpServletRequest req) {
		return req.getSession().getId();
	}

	@Override
	public void setServletContext(ServletContext servletContext) {
		// TODO Auto-generated method stub
		
	}
	
	
}
